package com.jumi.microservice.dto.reponse.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jumi.microservice.dto.request.Good;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

@ApiModel("店铺流量--用户的商品浏览记录")
public class UserGoodFlowResponse extends Good {
    @ApiModelProperty("分享者id")
    private Integer shareUserId;
    @ApiModelProperty("浏览者id")
    private Integer flowUserId;
    @ApiModelProperty("浏览者昵称")
    private String name;
    @ApiModelProperty("浏览的商品数量")
    private Integer flowNum;

    private LocalDateTime createTime;

    public Integer getShareUserId() {
        return shareUserId;
    }

    public void setShareUserId(Integer shareUserId) {
        this.shareUserId = shareUserId;
    }

    public Integer getFlowUserId() {
        return flowUserId;
    }

    public void setFlowUserId(Integer flowUserId) {
        this.flowUserId = flowUserId;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public Integer getFlowNum() {
        return flowNum;
    }

    public void setFlowNum(Integer flowNum) {
        this.flowNum = flowNum;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
